using System;

namespace Warehouse.Dto
{
    /// <summary>
    /// 库存出入库汇总 DTO
    /// </summary>
    public class InventorySummaryDto
    {
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>
        public string? ProductNumber { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        public string? Specification { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string? Unit { get; set; }

        /// <summary>
        /// 库房名称
        /// </summary>
        public string? WarehouseName { get; set; }

        /// <summary>
        /// 出入库类别（示例：最新记录的类别）
        /// </summary>
        public string? TransactionType { get; set; }

        /// <summary>
        /// 入库数量合计
        /// </summary>
        public decimal? InQuantity { get; set; }

        /// <summary>
        /// 出库数量合计
        /// </summary>
        public decimal? OutQuantity { get; set; }

        /// <summary>
        /// 结余库存（入库-出库）
        /// </summary>
        public decimal? BalanceQuantity { get; set; }

        /// <summary>
        /// 单价（示例：最新或最大值）
        /// </summary>
        public decimal? UnitPrice { get; set; }

        /// <summary>
        /// 申请人（示例：最新记录的申请人）
        /// </summary>
        public string? Applicant { get; set; }
    }
}


